using HdhNetQuery;

namespace HdhWinform
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // To customize application configuration such as set high DPI settings or default font,
            // see https://aka.ms/applicationconfiguration.
            if (!HdhcmsDataHelperStatic.TableExists("StudentInfo"))
            {
                string sql = "create table StudentInfo(id int identity(1,1) primary key not null,name nvarchar(20),AddmissionDate datetime )";
                HdhcmsDataHelperStatic.ExecuteNonQuery(sql);
            }
            ApplicationConfiguration.Initialize();
            Application.Run(new HdhForm());
        }
    }
}